package com.ssyc.common.base;

import android.content.Context;
import android.graphics.Bitmap;
import android.widget.ImageView;

import com.lzy.ninegrid.NineGridView;
import com.ssyc.common.R;
import com.ssyc.common.glide.ImageUtil;

/**
 * Created by Administrator on 2018/1/12 0012.
 */

public class NineImageLoader implements NineGridView.ImageLoader {
    @Override
    public void onDisplayImage(Context context, ImageView imageView, String url) {
        ImageUtil.displayImage(context, imageView, url, R.drawable.defaultimage);
    }

    @Override
    public Bitmap getCacheImage(String url) {
        return null;
    }
}
